package com.adcc.monitoragent.util;
/**
 * 常量池
 * @author charlie
 *
 */
public class Constants {
	/**
	 * 默认广播ip
	 */
	public static final String BROADCAST_IP = "255.255.255.255";
	/**
	 * 默认广播端口
	 */
	public static final int BROADCAST_PORT = 8521;
	/**
	 * 广播链路
	 */
	public static final String LINK_TYPE_BROADCAST = "Broadcast";
	/**
	 * mina链路
	 */
	public static final String LINK_TYPE_MINA = "Mina";
	/**
	 * 正常状态
	 */
	public static final String STATUS_OK = "OK";
	/**
	 * 异常状态
	 */
	public static final String STATUS_ERROR = "ERROR";
	/**
	 * 主节点
	 */
	public static final String MASTER = "m";
	/**
	 * 备节点
	 */
	public static final String STANDBY = "s";
	/**
	 * 未启用数据
	 */
	public static final int SUM_STATUS_NOTENABLE = 5;
	/**
	 * 汇总状态  超时
	 */
	public static final int SUM_STATUS_OUTTIME = 4;
	/**
	 * 非关心数据
	 */
	public static final int SUM_STATUS_DISINTEREST = 0;
	/**
	 * 汇总状态  正常
	 */
	public static final int SUM_STATUS_NORMAL = 1;
	/**
	 * 汇总状态  警告
	 */
	public static final int SUM_STATUS_WARN = 2;
	/**
	 * 汇总状态  异常
	 */
	public static final int SUM_STATUS_ERROR = 3;
	
}
